Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
8 Skipped Deployments
|
Differences Found✅ No packages or licenses were added. SummaryExpand
|
There was a problem hiding this comment.
Pull request overview
This PR hardens dependency supply-chain security for the monorepo by tightening pnpm’s install policies (release-age + trust policy) and enforcing exact dependency pinning across workspace packages/apps.
Changes:
- Increase
minimumReleaseAgeto 21 days with explicit exclusions (including a CVE-related handlebars pin). - Configure pnpm trust policy (
no-downgrade) with a 30-day ignore-after window and enable exact-version saving. - Convert multiple
package.jsondependency ranges from^x.y.zto exactx.y.zand update the lockfile accordingly.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
pnpm-workspace.yaml |
Tightens pnpm install policies (minimum release age, trust policy) and enforces exact version saving. |
pnpm-lock.yaml |
Refreshes lockfile to reflect exact specifiers/pinning and resulting resolution graph changes. |
package.json |
Pins root devDependency @changesets/cli to an exact version. |
.npmrc |
Removes trust-policy-ignore-after from npmrc now that the policy is configured in workspace settings. |
packages/handlebars/package.json |
Pins handlebars and related types to exact versions. |
apps/smtp/package.json |
Pins multiple dependencies and type packages to exact versions (including handlebars, nodemailer). |
apps/search/package.json |
Pins clsx, debug, and react-helmet to exact versions. |
apps/products-feed/package.json |
Pins AWS SDK + fast-xml-parser + handlebars related deps to exact versions. |
apps/klaviyo/package.json |
Pins node-fetch, react-helmet, and build-tool deps to exact versions. |
apps/cms/package.json |
Pins @types/qs to an exact version. |
apps/avatax/package.json |
Pins runtime and dev dependencies (e.g., avatax, jotai, faker, pactum) to exact versions. |
apps/avatax/bruno/package.json |
Pins @faker-js/faker and normalizes package.json metadata ordering. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2314 +/- ##
=======================================
Coverage 37.30% 37.30%
=======================================
Files 1018 1018
Lines 65972 65972
Branches 3402 3401 -1
=======================================
Hits 24608 24608
Misses 40988 40988
Partials 376 376
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
|
|
||
| ### Installing new packages | ||
|
|
||
| This has following requirements for improved supply chain security: |
There was a problem hiding this comment.
Minor grammar: "This has following requirements" is missing an article (e.g., "This has the following requirements") and reads a bit awkward in the README section.
| This has following requirements for improved supply chain security: | |
| This has the following requirements for improved supply chain security: |
| - Packages must be older than 21 days | ||
| - Added packages must use exact version (no `^` or `~`) | ||
| - Packages versions cannot have a downgraded provenance security | ||
| - All installs are using froze lockfile to prevent unintended changes in transitive dependencies, to update packages anyway, you must use: `pnpm install --no-frozen-lockfile` |
There was a problem hiding this comment.
Typo: "froze lockfile" should be "frozen lockfile".
| - All installs are using froze lockfile to prevent unintended changes in transitive dependencies, to update packages anyway, you must use: `pnpm install --no-frozen-lockfile` | |
| - All installs are using frozen lockfile to prevent unintended changes in transitive dependencies, to update packages anyway, you must use: `pnpm install --no-frozen-lockfile` |
frozen-lockfile, so thatpnpm installcannot update transitive dependencies